<?php
session_start();

if (!isset($_SESSION['AccUnique']) || $_SESSION['AccUnique'] == "") {
    echo "<script type='text/javascript'>location.href='index.php'</script>";
}

$accountId = isset($_SESSION['AccountID']) ? addslashes(trim($_SESSION['AccountID'])) : "acccountId";
$flatUi = "Flat-UI-master/";
?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>荣耀ol - 在线商城</title>
        <meta name="description" content="Flat UI Kit Free is a Twitter Bootstrap Framework design and Theme, this responsive framework includes a PSD and HTML version."/>

        <meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">

        <!-- Loading Bootstrap -->
        <link href="<?php echo $flatUi; ?>dist/css/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">

        <!-- Loading Flat UI -->
        <link href="<?php echo $flatUi; ?>dist/css/flat-ui.css" rel="stylesheet">
        <link href="<?php echo $flatUi; ?>docs/assets/css/demo.css" rel="stylesheet">

        <link rel="shortcut icon" href="<?php echo $flatUi; ?>img/favicon.ico">

        <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
        <!--[if lt IE 9]>
          <script src="dist/js/vendor/html5shiv.js"></script>
          <script src="dist/js/vendor/respond.min.js"></script>
        <![endif]-->
        <style>
            html body{
                width:800px;
                height:586px;
            }
        </style>
    </head>
    <body>
        <div class="container" style="width: 800px; height: 586px;">
            <h3 class="demo-panel-title"><a href="index.php">回首页</a></h3>
            <!--            <h1 class="demo-section-title text-center">荣耀ol - 在线商城</h1>-->
            <h3 class="demo-panel-title"></h3>
            <div class="row">
               
                <div class="col-xs-10">
                    <div>
                        <form action="action/account.action.php" method="post">
                            <div>
                                <div>修改密码</div>
                                <div>
                                    <br>
                                    <input type="hidden" name="action" value="modifyPassword"/>
                                    <input type="text" class="form-control" name="username" readonly="readonly" placeholder="用户名" value="<?php echo $accountId; ?>"/>
                                    <br>
                                    <br>
                                    <input type="password" class="form-control" name="password" placeholder="密码"/>
                                    <br>
                                    <input type="password" class="form-control" name="password1" placeholder="新密码"/>
                                    <br>
                                    <input type="password" class="form-control" name="password2" placeholder="再次输入"/>
                                    <br>
                                    <input type="submit" class="form-control btn-info" value="修改密码"/>
                                </div>                            
                            </div>
                        </form>
                    </div> 
                </div>                
                <div class="col-xs-1">

                </div>
            </div> <!-- /download area -->
        </div> <!-- /container -->
        <div class="h1">

        </div>        
    </body>
</html>
